package com.maple.utils.const

class ConstKey {

    object SaveInfoKey {

        const val HAS_APP_FIRST = "hasFirst"

        const val HAS_APP_AGREE = "hasAgree"

        const val HAS_APP_USED = "hasUsed"

        const val ACCESS_TOKEN = "accessToken"

        const val USER_INFO = "userInfo"

    }

    object BundleKey {
        const val EXTRA_URL = "url"
        const val EXTRA_OBJ = "obj"
        const val EXTRA_INDEX = "index"
        const val EXTRA_ID = "id"
        const val EXTRA_NO = "no"
        const val EXTRA_TYPE = "type"
        const val EXTRA_TITLE = "title"
        const val EXTRA_CODE = "code"
        const val EXTRA_LIST = "list"
    }


    object RoleKey {
        // 超级管理员
        const val KEY_ADMIN = "admin"
        const val KEY_MANAGER = "mananger"
    }

    object EventCode {
        // 扫码
        const val REQUEST_CODE_SCAN: Int = 9901
    }


    object HttpCode {
        const val ERROR_UNAUTHORIZED = "401"
    }

}